<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Tab切换</title>
    <link rel="stylesheet" href="css/index.css">
</head>
<body>
    <div id="wrap">
        <div class="left">
            <div class="top showBox">
                <img src="images/show_1.jpg" alt="" class="showImg">
                <div class="mask"></div>
            </div>
            <ul class="clearfix">
                <li class="active"><img src="images/small_1.jpg" alt=""></li>
                <li><img src="images/small_2.jpg" alt=""></li>
                <li><img src="images/small_3.jpg" alt=""></li>
                <li><img src="images/small_4.jpg" alt=""></li>
            </ul>
        </div>
        <div class="right bigGlass">
            <img src="images/show_1.jpg" alt="" class="bigGlassImg">
        </div>
    </div>
    <script src="js/index.js"></script>
    <script>
        let glass = new Glass('#wrap')
        glass.moveGlass()
        glass.changePic()
    </script>
</body>
</html>